package soft.pojo;

import javax.xml.crypto.Data;
import java.util.Date;

public class Admin {
    private String aId;
    private String aName;
    private String aSex;
    private String aAge;
    private String email;
    private String phone;
    private String password;
    private Date regTime;
    private String address;
    private Integer permissions;

    public Admin() {
    }

    public Admin(String aId, String aName, String aSex, String aAge, String email, String phone, String password, Date regTime, String address, Integer permissions) {
        this.aId = aId;
        this.aName = aName;
        this.aSex = aSex;
        this.aAge = aAge;
        this.email = email;
        this.phone = phone;
        this.password = password;
        this.regTime = regTime;
        this.address = address;
        this.permissions = permissions;
    }

    public String getaId() {
        return aId;
    }

    public void setaId(String aId) {
        this.aId = aId;
    }

    public String getaName() {
        return aName;
    }

    public void setaName(String aName) {
        this.aName = aName;
    }

    public String getaSex() {
        return aSex;
    }

    public void setaSex(String aSex) {
        this.aSex = aSex;
    }

    public String getaAge() {
        return aAge;
    }

    public void setaAge(String aAge) {
        this.aAge = aAge;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getPermissions() {
        return permissions;
    }

    public void setPermissions(Integer permissions) {
        this.permissions = permissions;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "aId='" + aId + '\'' +
                ", aName='" + aName + '\'' +
                ", aSex='" + aSex + '\'' +
                ", aAge='" + aAge + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", regTime=" + regTime +
                ", address='" + address + '\'' +
                ", permissions=" + permissions +
                '}';
    }
}
